const purchasing = {
	namespaced: true,
	state: {
		//蓝牙信息
		list: []
	},
	getters: {
		priceTotal(state) {
			let count = 0
			for (let item of state.list) {
				count += item.orderNum*item.realPrice
			}
			return count
		}
	}

}

export default purchasing;